#!/usr/bin/env ruby

module RedBook
	
	INTERFACE_DIRS = ["#{HOME}/lib/interfaces/"]
	RENDERER_DIRS = ["#{HOME}/lib/renderers/"]
	PLUGIN_DIRS = ["#{HOME}/lib/plugins/"]
	INTERFACE = 'console'
	RENDERERS = ['console', 'text', 'yaml', 'xml', 'csv']
	PLUGINS = ['twitter', 'tracker', 'archiver', 'csv']
	DEBUG = false
	PROMPT = '"redbook@#{@logger.alias}[#{@logger.current_dataset.length}/#{@logger.current_log.length}]#> "'
	SHORTCUTS = {
		:test => ":use test",
		:def => ":use default",
		:today => ":select :plain :from today",
		:cf => ":log Coffee Break :with _break",
		:lunch => ":log Lunch Break :with _break",
		:work => ":log Working Day",
		:mail => ":log Checking/writing emails :with mail",
		:ph => ":log Phone Call :with call",
		:b => ":backup",
		:a => ":archive",
		:"\t" => ":finish",
		:"\e" => ":quit",
		:"\s" => ":clear",
		:"5" => ":select :plain :last 5",
		:"10" => ":select :plain :last 10",
		:pend => ":select :pending :from today at 8 am",
		:done => ":select :completed :from today at 8 am",
		:plain => ":select :plain :from today at 8 am",
		:int => ":int",
		:spent => ":timespent",
	}
		
end


